/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package east2west.interfaces;

import east2west.dto.LocationDTO;
import java.util.ArrayList;

/**
 *
 * @author anhtuan
 */
public interface LocationInterface {

    ArrayList<LocationDTO> readByAll();

    LocationDTO findById(int id);

    ArrayList<LocationDTO> findByName(String name);

    ArrayList<LocationDTO> findByDTO(LocationDTO dto);

    boolean create(LocationDTO dto);

    boolean update(LocationDTO dto);

    boolean delete(int id);

    boolean delete(LocationDTO dto);
    ArrayList<LocationDTO> showLocationTourNameN(int id);
}
